package com.wnx.job.modules.nms.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author wangnaixing
 * @since 2021-12-16
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("nms_article")
@ApiModel(value="NmsArticle对象", description="")
public class NmsArticle implements Serializable {

    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "自增主键")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "所属栏目ID")
    private Long channelId;

    @ApiModelProperty(value = "咨询标题")
    private String title;

    @ApiModelProperty(value = "标题图片")
    private String titleImg;

    @ApiModelProperty(value = "咨询摘要")
    private String summary;

    @ApiModelProperty(value = "咨询作者")
    private String author;

    @ApiModelProperty(value = "咨询内容")
    private String content;

    @ApiModelProperty(value = "排序号")
    private Integer sort;

    @ApiModelProperty(value = "创建时间")
    private Date created;

    @ApiModelProperty(value = "修改时间")
    private Date updated;

    @ApiModelProperty(value = "状态:1->激活0->不激活")
    private Integer status;


}
